public class Example1_2{
	public static void main(String [] args){
		Rect rectangle=new Rect();
		rectangle.width=1.525;
		rectangle.height=1.243;
		double area=rectangle.getArea();
		System.out.println("S ="+area);
	}
}

class Rect{
	double width;
	double height;
	public double getArea(){
		return width*height;
	}
}